projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa82d5f
)
AM3517:EMIF4: fix SDRAM size to 256Mb
author
Vaibhav Hiremath
<
[email protected]
>
Mon, 29 Nov 2010 21:36:10 +0000
(16:36 -0500)
committer
Sandeep Paulraj
<
[email protected]
>
Mon, 29 Nov 2010 21:36:10 +0000
(16:36 -0500)
With addition of "dram_init_banksize()" function from Heiko,Schocher
(commit ID:
561142af20f1fd7b425d9425730014e656defb91
), the DRAM size
is getting configured wrongly to 512Mb (CS0 & CS1).
So fix it to 256Mb.
Signed-off-by: Vaibhav Hiremath <
[email protected]
>
Signed-off-by: Sandeep Paulraj <
[email protected]
>
arch/arm/cpu/armv7/omap3/emif4.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/omap3/emif4.c
b/arch/arm/cpu/armv7/omap3/emif4.c
index 0870857ede4eddd9d63a9783e5aff180ede84dbf..2227576b7b3135e02cc8eda28895fa741320f204 100644
(file)
--- a/
arch/arm/cpu/armv7/omap3/emif4.c
+++ b/
arch/arm/cpu/armv7/omap3/emif4.c
@@
-48,10
+48,11
@@
u32 is_mem_sdr(void)
*/
u32 get_sdr_cs_size(u32 cs)
{
- u32 size;
+ u32 size
= 0
;
/* TODO: Calculate the size based on EMIF4 configuration */
- size = CONFIG_SYS_CS0_SIZE;
+ if (cs == CS0)
+ size = CONFIG_SYS_CS0_SIZE;
return size;
}